header{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    height: 100px;
    padding: 0 12px;
    margin: 0 auto;

    .logo{
        position: relative;
        display: flex;
        align-items: center;
        flex-shrink: 0;

        a{
            display: flex;
            align-items: center;
            color: var(--gray-9);
            font-weight: 600;
            letter-spacing: 1px;
        }

        img{
            height: 64px;
            width: auto;
            margin-right: 4px;
            object-fit: contain;
            vertical-align: middle;
        }
    }

    .menus{
        position: relative;
        height: 100%;
        display: flex;
        // padding: 0 20px; /* 修改为您需要的 padding 值 */
        flex-grow: 1;
        padding-left: 20px;

        .menu-item{
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 18px;
            font-weight: 600;
            color: var(--black);
            cursor: pointer;
            transition: all 0.3s;

            &::after{
                transition: all 0.3s;
            }

            &:not(.focus):hover{
                color: var(--main-7);
            }

            &.focus{
                color: var(--main-6);
                
            }
        }

        @media screen and (max-width: 1200px) {
            padding: 0 12px;

            .menu-item{
                font-size: 13px;
                padding: 0 12px;
            }
        }
    }

    .search{
        position: relative;
        padding: 0 36px;
        width: 332px;
    }

    .actions{
        position: relative;
        height: 100%;
        flex-shrink: 0;

        .actions-space{
            position: relative;
            height: 100%;

            :global .ant-space-item{
                height: 100%;
                display: flex;
                align-items: center;

                & > .ant-badge{
                    height: 100%;
                }
            }
        }

        div[class^="_avatar_"]{
            margin: 0;
        }
    }
}